$mainColor: #E24E47; // 主色
$bgColor: #EDEDED; // 背景色
$textColor: #343436; // 字体颜色

@mixin df-row($jc:null,$ai:null,$flex:null){
	display: flex;
	justify-content: $jc;
	align-items: $ai;
	flex:$flex
}

@mixin df-col($jc:null,$ai:null,$flex:null){
	display: flex;
	flex-direction: column;
	justify-content: $jc;
	align-items: $ai;
	flex:$flex
}

//图片
@mixin build-square($value:100%){
	width:$value;
	height:$value;
}

@for $i from 1 through 4{
	.wes-#{$i} {
		overflow: hidden;
		@if($i==1){
			word-wrap:normal;
			white-space:nowrap;
			text-overflow:ellipsis;
		}
		@else{
			display: -webkit-box;
			white-space:normal;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: $i;
		}
	}
}